#pragma once

using namespace System::Collections::Generic;
using namespace Tigera::T_Definition;
using namespace Tigera::Network;
using namespace Tigera::LibCodeUtils;

ref class CMQNetServer
{
public:
	
	void OnMessaged(System::Object^ sender, MessageEventArgs^ eventargs);	

	bool Start();
	void Stop();
	static CMQNetServer^ Instance();
	
private:
	static CMQNetServer^ instance = gcnew CMQNetServer();
	CMQNetServer(void);
	MQConnection^ m_conn;

	ResponseTodayBusinessRecordQuery^ GetDealedOrder();
	ResponseAccountPositionQuery^ GetPostionInfos();
};
